package com.ygqh.baby.po;

import java.util.Date;

import com.ygqh.baby.ao.DataStatus;

public class YgUserAddress {
	private Long id;

	private Long userId;

	private String receiver;

	private String telPhone;

	private String provinceName;

	private String cityName;

	private String areaName;

	private String postCode;

	private String address;

    private String identityNo;

	private Boolean isDefault;

	private DataStatus status;

	private Date createTime;

	private Date updateTime;

	public YgUserAddress() {
		super();
	}

	public YgUserAddress(Long userId, String receiver, String telPhone, String provinceName, String cityName,
			String areaName, String postCode, String address) {
		super();
		this.userId = userId;
		this.receiver = receiver;
		this.telPhone = telPhone;
		this.provinceName = provinceName;
		this.cityName = cityName;
		this.areaName = areaName;
		this.postCode = postCode;
		this.address = address;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver == null ? null : receiver.trim();
	}

	public String getTelPhone() {
		return telPhone;
	}

	public void setTelPhone(String telPhone) {
		this.telPhone = telPhone == null ? null : telPhone.trim();
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName == null ? null : provinceName.trim();
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName == null ? null : cityName.trim();
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName == null ? null : areaName.trim();
	}

	public String getPostCode() {
		return postCode;
	}

	public void setPostCode(String postCode) {
		this.postCode = postCode == null ? null : postCode.trim();
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address == null ? null : address.trim();
	}

	public Boolean getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(Boolean isDefault) {
		this.isDefault = isDefault;
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status == null ? null : status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	public String toString() {
		return "YgUserAddress [id=" + id + ", userId=" + userId + ", receiver=" + receiver + ", telPhone=" + telPhone
				+ ", provinceName=" + provinceName + ", cityName=" + cityName + ", areaName=" + areaName
				+ ", postCode=" + postCode + ", address=" + address + ", isDefault=" + isDefault + ", status=" + status
				+ ", createTime=" + createTime + ", updateTime=" + updateTime + "]";
	}

	public String getIdentityNo() {
		return identityNo;
	}

	public void setIdentityNo(String identityNo) {
		this.identityNo = identityNo;
	}

}